From 910649ab8b9d16bd9ed363ed7ebbb4549234103c Mon Sep 17 00:00:00 2001
From: Robert Timm <mail@rtti.de>
Date: Wed, 8 Mar 2017 21:51:06 +0100
Subject: [PATCH] fixes prompt color after error

---
 src/normal.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/normal.c b/src/normal.c
index faa5733..e71a4f1 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -506,7 +506,8 @@ static VbResult normal_increment_decrement(Client *c, const NormalCmdInfo *info)
 static VbResult normal_input_open(Client *c, const NormalCmdInfo *info)
 {
     if (strchr("ot", info->key)) {
-        vb_input_set_text(c, info->key == 't' ? ":tabopen " : ":open ");
+        vb_echo(c, MSG_NORMAL, FALSE,
+                ":%s ", info->key == 't' ? "tabopen" : "open");
     } else {
         vb_echo(c, MSG_NORMAL, FALSE,
                 ":%s %s", info->key == 'T' ? "tabopen" : "open", c->state.uri);
-- 
2.20.1